package com.viettel.core.bussiness.report;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.viettel.core.dao.report.ReportServiceDAO;
import com.viettel.core.entities.report.vo.ReportServiceFilter;
import com.viettel.core.entities.report.vo.ReportServiceVO;
import com.viettel.core.exceptions.BusinessException;
import com.viettel.core.exceptions.DataAccessException;

public class ReportServiceMgrImpl implements ReportServiceMgr{

	@Autowired
	ReportServiceDAO reportServiceDAO;
	
	@Override
	public List<ReportServiceVO> getListReportService(ReportServiceFilter filter)
			throws BusinessException {
		try {
			return reportServiceDAO.getListReportService(filter);
		} catch (DataAccessException e) {
			throw new BusinessException(e);
		}
	}

}
